﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DomainDriver.DomainModeling.StorageManagers.DataSetStorage
{
    public interface IDataSetSerializable<DATASOURCE, OBJECT_RECORD>
    {
        string ObjectTableName { get; }
        string KeyColumnName { get; }
        void Serialize(DATASOURCE dataSet, OBJECT_RECORD dataRow);
        void Deserialize(DATASOURCE dataSet, OBJECT_RECORD dataRow);
    }
}